module.exports = {
  // css 配置
  css: {
    loaderOptions: {
      postcss: {
        plugins: [
          require("tailwindcss"),
          require("autoprefixer"),
          require("postcss-pxtorem")({
            rootValue: 16,
            propList: ["*"],
          }),
        ],
      },
    },
  },
  publicPath: "./",
  devServer: {
    proxy: {
      "/api": {
        target: "http://1.117.229.207:8082",
        changeOrigin: true,
        pathRewrite: { "^/api": "/" },
      },
    },
  },
};
